본문으로 건너뛰기

Retrofitting unit tests

저자
Steven F. Freeman, Paul Simmons, Don Wells
출판

Abstract

In this paper we describe techniques that we have found helpful for adding unit tests to existing code that has been written without tests. The paper presents some common coding practices that make unit tests hard to retrofit, and why. For each practice we suggest minimal refactorings to open up the code for testing.

See also

작성
수정

2026 © ak | markdown